import { IMessageHandle } from "../../../../extensions/phoenix-plugin-client/assets/core/interface/IMessageHandle";
import messageManager from "../../../../extensions/phoenix-plugin-client/assets/core/managers/message.manager";
import { OpcodeApp } from "../define/opcode.define";
import * as proto from "../protoc/ts/proto_app.js";

export default class S2CUpdateRoomInfo implements IMessageHandle{
    handleMessage(msgData: any): void {
        let response = msgData as proto.s2c_UpdateRoomInfo;
        console.log("S2CUpdateRoomInfo", response);
    }
}

messageManager.registerHandle(OpcodeApp.Opcode_SC_UPDATE_ROOM_INFO, new S2CUpdateRoomInfo());